package com.feiyuan.modules.sys.mapper;

import com.feiyuan.modules.sys.entity.RoleMenuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.feiyuan.modules.sys.vo.RoleMenuVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author Xupf
 * @email xupengfei131276@126.com
 * @date 2024-03-01 14:51:34
 */
@Mapper
public interface RoleMenuDao extends BaseMapper<RoleMenuEntity> {

    List<RoleMenuVO> selectMenuList(@Param("roleId") String roleId);

    List<RoleMenuEntity> selectRoleMenu(@Param("roleId") Long roleId);

    List<String> selectUserPerms(@Param("userId") String userId);
}
